package com.guaoran.other.proxy.staticed;

/**
 * @author : 孤傲然
 * @Description :
 * @date :2018/5/17 14:25
 */
public class MeiPo {
    private String name;
    private String jobYear;
    private Person person;

    public MeiPo (Person person){
        this.name = "zs";
        this.jobYear = "5年";
        this.person = person;
    }

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJobYear() {
        return jobYear;
    }

    public void setJobYear(String jobYear) {
        this.jobYear = jobYear;
    }
    public void helperPersonFindOjbect(){
        System.out.println("我是媒婆，我要帮人找对象，开始帮人找对象");
        person.findObject();
        System.out.println("已找到对象，看他的意思了。");
    }
}
